//设置当前组件
export const setActiveComponent = ({ commit }, component) => commit('SET_ACTIVE_COMPONENT', component);
//添加组件到components
export const addComponent = ({ commit }, component) => commit('ADD_COMPONENT', component);
//修改当前组件的参数
// export const changeComponentArgs = ({ commit }) => commit('CHANGE_COMPONENT_ARGS');